<?php

require_once dirname(__FILE__) . '/../Query.php';

class Rams_UsedQuery extends RawsQuery
{
  public function __construct()
  {
      parent::__construct();
  }
  
  public function setFrom($value)
  {
    if ($value !== null) {
        $this->_params['from'] = $value;
    } else {
        unset($this->_params['from']);
    }
    return $this;
  }

  public function setUntil($value)
  {
    if ($value !== null) {
        $this->_params['until'] = $value;
    } else {
        unset($this->_params['until']);
    }
    return $this;
  }

  public function setTotal($value)
  {
    if ($value !== null) {
        $this->_params['total'] = $value;
    } else {
        unset($this->_params['total']);
    }
    return $this;
  }


  public function getQueryUrl($base_uri = null, $resource = null, $path = null)
  {
    return parent::getQueryUrl($base_uri, $resource, $path);
  }

}
